import { Ref } from 'vue';
import { FormRules } from 'element-plus';

export interface Account {
  account: string;
  password: string;
}

export type LoginOptions = {
  accountRef: Ref<Account>;
  accountRules: Ref<FormRules<Account>>;
  isLanding: Ref<boolean>;
  doLogin: () => void;
};
